/*
 * UIWindow.h
 */

#ifndef UIWINDOW_H_
#define UIWINDOW_H_

#include "UIComposite.h"
#include <string>

/**
 * UI Component used to render a window (which can contain other UI Components)
 */
class UIWindow: public UIComposite {
public:
  /**
   * Constructor
   * @param x x-coordinate of the window
   * @param y y-coordinate of the window
   * @param title title for the window
   */
  UIWindow(float x, float y, std::string title);

  /**
   * Destructor
   */
  virtual ~UIWindow();

  /**
   * Draws the window and all its childish UI Components
   */
  virtual void draw();
};

#endif /* UIWINDOW_H_ */
